package com.training.java.core.exceptionhandling;

public class ExceptionDemo {

	public static void main(String[] args) {
		
		try
		{
			String[] names = {"Reenu","mira","Satya","sushmita"};
			System.out.println("names[4]:"+ names[4]);
		}
		catch(ArrayIndexOutOfBoundsException ex)
		{
			ex.printStackTrace();
		}
		
	}

}
